<!--{eval echo '<'.'?xml version="1.0" encoding="utf-8"?'.'>';}-->
<!--{eval $__my=$this->MemberHandler->MemberFields;}-->
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="{$this->Config[wap_url]}/" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8"/>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0"/>
<meta name="MobileOptimized" content="236"/>
<meta http-equiv="Cache-Control" content="no-cache"/>
<title>{$this->Title} - <!--{eval echo array_iconv($this->Config['charset'],'utf-8',{$this->Config[site_name]});}-->微博手机版 - <!--{eval echo array_iconv($this->Config['charset'],'utf-8',{$this->Config[page_title]});}--></title>
<link href="images/wap_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!--{if MEMBER_ID}-->

	<div class="logo">
	<a href="index.php"><img src="{$this->Config[site_url]}/wap/templates/default/images/wap_logo.gif" /></a>
	</div>
	{eval $member=($member ? $member : $this->MemberHandler->MemberFields);}
	<div class="topbg">
	<span>
	<!--{eval if($this->Code == 'new') $new_hb = 'hb';}-->
	<!--{eval if($this->Code == 'myhome') $myhome_hb = 'hb';}-->
	<!--{eval if($this->Code == 'myat') $myat_hb = 'hb';}-->
	<!--{eval if($this->Code == 'mycomment') $reply_hb = 'hb';}-->
	<!--{eval if($this->Get[mod] == 'tag') $tag_hb = 'hb';}-->
	<!--{eval if($this->Get[mod] == 'pm') $mypm = 'hb';}--> 
	<!--{eval if($this->Code == 'myfavorite' || $this->Code == 'favoritemy') $myfavorite = 'hb';}--> 

	<a href="index.php?mod=topic&amp;code=new" title="最新微博"><span class="{$new_hb}">广场</span></a>|
	<a href="index.php?mod=tag"><span class="{$tag_hb}">话题</span></a>|
	<a href="index.php?mod=topic&amp;code=myhome" title="我的首页"><span class="{$myhome_hb}">首页</span></a>|
	<a href="index.php?mod=topic&amp;code=myat" title="@提到我的"><span class="{$myat_hb}">@我</span></a>|
	<a href="index.php?mod=topic&amp;code=mycomment" title="评论我的"><span class="{$reply_hb}">评论</span></a> |
	<a href="index.php?mod=pm" title="站内私信"><span class="{$mypm}">私信</span></a> |
	<a href="index.php?mod=topic&amp;code=myfavorite" title="我的收藏"><span class="{$myfavorite}">收藏</span></a>

	</span>
	</div>

	<!--{if in_array($this->Code,array('myhome','myblog','fans','follow')) || $params[code] == 'myblog' || $this->Code > 0}-->

	<div class="u">
		<span>
			<a href="index.php"><img onerror="javascript:faceError(this);" src="{$member[face]}" style="width:45px; height:45px;padding:1px;border:1px solid #ccc; background:#fff;"/></a>
			<a href="index.php?mod={$member[username]}">{$member[nickname]}</a>
			<!--{if $member[uid] == MEMBER_ID}-->(<a href="index.php?mod=login&amp;code=logout">退出</a>)<!--{/if}-->
		<br />
		<!--{eval if($this->Code == 'follow') $follow_hb = 'hb';}--> 
		<!--{eval if($this->Code == 'fans') $fans_hb = 'hb';}--> 
		<!--{eval if($topic_selected == 'myblog') $myblog_hb = 'hb';}--> 
		  <span class="{$follow_hb}"><a href="index.php?mod={$member[username]}&amp;code=follow">关注{$member[follow_count]}人</a> |</span> 
		  <span class="{$fans_hb}"><a href="index.php?mod={$member[username]}&amp;code=fans">粉丝{$member[fans_count]}人</a> | </span>
		  <span class="{$myblog_hb}"><a href="index.php?mod={$member[username]}">微博{$member[topic_count]}条</a></span><br />
		  <!--{if $this->Code != 'fans' && $this->Code != 'follow'}-->
		  {$member[follow_html]}
		  <!--{/if}-->

		</span> 
	</div>
<!--{/if}-->
	
	<!--{if $this->Code == 'pmsend' || $this->Get[mod] == 'pm'}-->
	<div style="padding:2px;">
		<!--{eval if($this->Code == '') $hb_mypm = 'hb';}--> 
		<!--{eval if($this->Code == 'pmsend') $hb_addpm = 'hb';}--> 
		<!-- <span class="{$hb_mypm}"><a href="index.php?mod=pm">我的私信</a></span> -->
		<p>
		<span class="{$hb_addpm}"><a href="index.php?mod=pm&amp;new=weidu">未读私信</a></span>|
		<span class="{$hb_addpm}"><a href="index.php?mod=pm&amp;new=yidu">已读私信</a></span>|
		<span class="{$hb_addpm}"><a href="index.php?mod=pm&amp;code=pmsend">发送私信</a></span>
		</p>
	</div>
	<!--{/if}-->

	<!--{if $member[uid] == MEMBER_ID}-->
	<div class="t_ttip">
	<!--{if $member[comment_new]>0}-->
	<a href="index.php?mod=topic&code=mycomment">{$member[comment_new]}条评论</a>，
	<!--{/if}-->
	<!--{if $member[at_new]>0}-->
	<a href="index.php?mod=topic&code=myat">{$member[at_new]}人@我</a>，
	<!--{/if}-->
	<!--{if $member[newpm] >0}-->
	<a href="index.php?mod=pm">{$member[newpm]}条私信</a>，
	<!--{/if}-->
	<!--{if $member[fans_new]>0}-->
	<a href="index.php?mod={$__my[username]}&code=fans">{$member[fans_new]}人关注了我</a>
	<!--{/if}-->
	</div> 
	<!--{/if}-->
	
	<!--{if in_array($this->Code,array('myhome','new')) || !empty($tag_value)}-->
	<div class="m">
		<div style="padding:2px;">随便说说：({conf topic_length}字以内)</div>
			<div class="u2">
			<form action="index.php?mod=topic&amp;code=do_add" method="post" enctype="multipart/form-data" name="forminfo" id="forminfo">
				 <div>
					<!--{eval $i_already_value = $tag_value ? $tag_value : '';}-->
					<textarea name="content" id="content" style="width:98%;" rows="2" cols="" />{$i_already_value}</textarea>
				 </div>
				<input name="topictype" type="hidden" id="topictype" value="first" />
				 <div style="margin-top:3px;">
					 <!--{if $this->Config[sina_enable] && sina_weibo_init()}-->
						{eval echo array_iconv($this->Config['charset'],'utf-8',sina_weibo_syn());}
					 <!--{/if}-->
					<!--{if $this->Config[qqwb_enable] && qqwb_init()}-->
						{eval echo array_iconv($this->Config['charset'],'utf-8',qqwb_syn());}
					<!--{/if}-->
					<!--{if $this->Config[kaixin_enable] && kaixin_init()}-->
						{eval echo array_iconv($this->Config['charset'],'utf-8',kaixin_syn_html());}
					<!--{/if}-->
					<!--{if $this->Config[renren_enable] && renren_init()}-->
						{eval echo array_iconv($this->Config['charset'],'utf-8',renren_syn_html());}
					<!--{/if}-->
				 </div>
				 <div>
				 <input name="tag" type="hidden" id="tag" value="{$tag_value}" />
				 <input type="submit" name="addTopic" value="发布" />	
				 <input type="submit" name="addPic" value="插图片" />	
				 </div>
				<input name="return_code" type="hidden" id="return_code" value="mod={$this->Get['mod']}&code={$this->Code}" />
				<input type="hidden" />
			</form> 
			</div>
	</div>
	<!--{/if}-->


<!--{else}-->
	<div class="logo">
		<a href="index.php"><img src="{$this->Config[site_url]}/wap/templates/default/images/wap_logo.gif" /></a>
	</div>
	<div class="topbg">
		<span>
		<a href="index.php?mod=topic&amp;code=new" title="最新微博">广场</a>|
		<a href="index.php?mod=tag">话题</a>|
		<a href="index.php?mod=login">登录</a>|
		<a href="index.php?mod=member"><font color="red">免费注册</font></a>
		</span>
	</div>
<!--{/if}-->




